/*
 * Copyright (c) 2008, Xiong Yingfei, the University of Tokyo
 * All rights reserved.
 */
package ac.jp.u_tokyo.SyncLib.language;

class TwoMapperDelegation implements ConstMapper
{
	ConstMapper _inner;
	ConstMapper _outer;
	


	public TwoMapperDelegation(ConstMapper inner, ConstMapper outer)
	{
		super();
		_inner = inner;
		_outer = outer;
	}



	public Const get(String name)
	{
		Const result = _inner.get(name);
		if (result != null) return result;
		return _outer.get(name);
	}

}
